Rearrange buttons