rearrange order of buttons