formatted the buttons