private void Update() { // Pauses timer _timer.Stop(); // Check tasks _taskChecker.CheckTasks(); // Updated modified entities _taskKeeper.Update().ContinueWith(p => { // Resumes timer if (_state == TaskProviderState.Started) { _timer.Start(); } }); }