Grid layout in UI. Added setting button