relayout buttons