            if (!object.ReferenceEquals(null, _activeTaskTime))
            {
                ended = _activeTaskTime.EndSession();
                OnPropertyChanged(nameof(CanStartTask));
                OnPropertyChanged(nameof(CanStopTask));
                OnPropertyChanged(nameof(CanCreateTask));
                OnPropertyChanged(nameof(CanOpenTask));
            }
