public async Task <bool> AddNewUserTask(UserTask userTask) { var isAdded = await StorageService.AddNewUserTaskAsync(userTask); if (ActiveTask.Id == userTask.Id) { ActiveTask = userTask; } if (isAdded) { UserTasks.RemoveAll(x => x.Id == userTask.Id); UserTasks.Insert(0, userTask); UserTaskModifiedEvent?.Invoke(this, new UserTaskModifiedEventArgs() { UserTask = userTask }); } return(isAdded); }