protected async Task LoadCompletedTaskList()
        {
            if (IsBusy)
            {
                return;
            }
            IsBusy = true;
            try
            {
                if (CompletedTasksList == null)
                {
                    CompletedTasksList = new List <UserTask>();
                }

                CompletedTasksList.Clear();

                const int numberOfCompletedTasks = 10;

                var userTasks = await _userTaskService.GetAllUserTaskByUserID(App.CurrentLogInUser.Email, UserTaskStatus.Completed, numberOfCompletedTasks);

                CompletedTasksList = userTasks.ToList();
            }
            finally
            {
                IsBusy = false;
            }
        }
        protected async Task ExecuteLoadItemsCommand()
        {
            if (IsBusy)
            {
                return;
            }
            IsBusy = true;
            try
            {
                if (UserTasksList == null)
                {
                    UserTasksList = new ObservableCollection <UserTaskViewModel>();
                }
                else
                {
                    UserTasksList.Clear();
                }

                int[] status =
                {
                    UserTaskStatus.Active, UserTaskStatus.Pending, UserTaskStatus.Paused, UserTaskStatus.Aborted
                };

                var userTasks = await _userTaskService.GetAllUserTaskByUserID(App.CurrentLogInUser.Email, status);

                foreach (var usertask in userTasks)
                {
                    var userTaskTime = await _userTaskService.GetUserTaskTimeByUserTaskId(usertask.UserTaskID);

                    UserTasksList.Add(new UserTaskViewModel(usertask, userTaskTime));
                }
            }
            finally
            {
                IsBusy = false;
            }
        }