reorganize buttons