format all the buttons