protected override void OnNavigatedTo(bool isInHistory, CompositeDisposable disposables) { Observable.Interval(TimeSpan.FromSeconds(3)) .ObserveOn(RxApp.MainThreadScheduler) .Subscribe(_ => { if (_applicationViewModel.CanShutdown()) { Navigate().Clear(); _applicationViewModel.ShutDown(); } }) .DisposeWith(disposables); }