Rearrange the buttons.