Added a custom SegmentedButton, and some layouting.