Added segmented control and tableView