public async Task <bool> CheckPermission()
 {
     mainActivity = (AppAppartamenti.Droid.MainActivity)App.ParentWindow;
     if (mainActivity.CheckAppPermissions())
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }