Reorganize the buttons in the main page