Note regarding the mod: the defense should be placed in the first row, next to the "Wait" command – this is an activated unit ability.
And the autobattle should be in the second row, along with the surrender and settings (these are general options in battle).
I thought about this at the very beginning and decided not to change the already familiar button layout, so "Defense" is at the bottom.