TableView and SegmentedControl implemented