//Delete on long tap in android and swipe in iOS
        public async void OnDelete(object sender, EventArgs e)
        {
            var      mi   = ((MenuItem)sender);
            TodoItem item = mi.CommandParameter as TodoItem;

            var accepted = await DisplayAlert(AppResources.Delete, AppResources.DeleteMessage + item.Title,
                                              AppResources.OK, AppResources.Cancel);

            if (accepted)
            {
                DbHandler.Instance().DeleteItem(item);
                ListViewModel.ItemList = DbHandler.Instance().GetTodoItemList();
            }
        }
        protected override void OnAppearing()
        {
            base.OnAppearing();

            ListViewModel.ItemList = DbHandler.Instance().GetTodoItemList();
        }
 private async void SaveItem(TodoItem todoItem)
 {
     DbHandler.Instance().SaveItem(todoItem);
     await toDoDetailInputPage.Navigation.PopModalAsync();
 }