public TasksPageViewModel()
        {
            InitializeCommand = new Command(async() =>
            {
                Tareas = await Locator.Database.GetTareas();
                if (Tareas.Count() > 0)
                {
                    AnyTask = true;
                }
                else
                {
                    AnyTask = false;
                }
            });

            CreateCommand = new Command(async() =>
            {
                CreateTaskPage createTaskPage = new CreateTaskPage();
                createTaskPage.BindingContext = Locator.StaticCreateTaskPageViewModel;
                await Application.Current.MainPage.Navigation.PushAsync(createTaskPage);
            });

            SelectTaskCommand = new Command <Tarea>(async(Tarea tarea) =>
            {
                SelectTask SelectTask     = new SelectTask();
                SelectTask.BindingContext = Locator.StaticSelectTaskPageViewModel;
                Locator.StaticSelectTaskPageViewModel.Tarea = tarea;
                await PopupNavigation.Instance.PushAsync(SelectTask);
            });
        }