     func flatMapEventToAction(event: Event) -> Observable<Action> {
         switch event {
         case .ClickItem(let item):
-            self.delegate?.showSelectedViewController(item)
+            self.delegate?.performSelectedSegue(item.segue)
         }
         return Observable.empty()
     }


class MasterViewController: UITableViewController, UserInteractable, View, UISplitViewControllerDelegate, MasterControllerDelegate {
    typealias Event = MasterEvent
    typealias State = [UIViewController]
    
    var disposeBag = DisposeBag()
    

    }
    
    // MARK: - Controller delegate functions
    func performSelectedSegue(segue: String) {
        performSegueWithIdentifier(segue, sender: self)
    }
    
    // MARK: - Split view
