protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     _favTaskIds = UserDB.GetFavTasks(App.CurrentUser.ToString());
     _tasks      = _tasks = TaskDB.GetTasksFromId(_favTaskIds);
     count       = 0;
     _initialTasks.Clear();
     if (ViewMyTaskPage._tasks.Count != 0)
     {
         NoTasks.Visibility = Visibility.Collapsed;
         ViewMyTaskPage.AddItems();
         TasksList.ItemsSource          = _initialTasks;
         TasksList.SelectedIndex        = 0;
         TasksList.Visibility           = Visibility.Visible;
         DetailAndDiscussion.Visibility = Visibility.Visible;
     }
     else
     {
         NoTasks.Visibility             = Visibility.Visible;
         TasksList.Visibility           = Visibility.Collapsed;
         DetailAndDiscussion.Visibility = Visibility.Collapsed;
     }
 }