     }
     
     // MARK: - Private methods
+    
+    private func updateRootCoordinator() {
+        let rootCoordinator = getRootCoordinator()
+        
+        setRootCoordinator(rootCoordinator)
+    }
     
     private func setRootCoordinator(_ coordinator: Coordinator & Presentable) {
         coordinator.start()

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

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