add table view with uiswitch