     private let session: MXSession?
     var viewMode: SetPinCoordinatorViewMode {
         didSet {
-            start()
+            updateRootCoordinator()
         }
     }
     private let pinCodePreferences: PinCodePreferences

    }
    
    // MARK: - Private methods
    
    private func setRootCoordinator(_ coordinator: Coordinator & Presentable) {
        coordinator.start()

    // MARK: - Public methods
    
    func start() {
        updateRootCoordinator()
    }
    
    func toPresentable() -> UIViewController {
