changed layout of buttons