async public void SaveTask(object sender, EventArgs args)
        {
            Table.TaskManager NewTask = new Table.TaskManager();
            NewTask.Title      = TitleTask.Text;
            NewTask.Content    = ContentTask.Text;
            NewTask.CategoryId = -1;
            NewTask.Todo       = true;
            DateTime NewDate = TaskDate.Date;
            TimeSpan NewTime = TaskTime.Time;

            NewTask.ExpirationDate = new System.DateTime(NewDate.Year, NewDate.Month, NewDate.Day, NewTime.Hours, NewTime.Minutes, NewTime.Seconds, NewTime.Milliseconds);
            App.Database.SaveAsync(NewTask);
            await Navigation.PopAsync();
        }
 public EditingTaskPage(Table.TaskManager MyCurrentTask)
 {
     InitializeComponent();
     CurrentTask  = MyCurrentTask;
     ModifiedTask = MyCurrentTask;
 }