Reorganize buttons.