public async void Settings()
        {
            iii++;
            if (iii > 1) {
               
                    if (App.Gebruiker.InstellingenID == "1")
                    {
                        //STANDAARD INSTELLING MAAK NIEUWE
                        Instellingen Nieuw = new Instellingen();
                        
                        Nieuw.Cortana = true;
                        if (Aan == true)
                        {
                            Nieuw.PushNotificaties = true;
                        }
                        else {
                            Nieuw.PushNotificaties = false;
                        }

                       
                        Nieuw.TaalID = "1";
                    await repoInst.AddInst(Nieuw);
                        string nieuwid = Nieuw.ID;
                       Gebruiker n = App.Gebruiker;
                        n.InstellingenID = nieuwid;
                        repogebruiker.AdjustGebruiker(n);

                    }
                    else
                    {
                        Instellingen Nieuw = new Instellingen();
                        Nieuw = UserSettings;
                        if (Aan == true)
                        {
                            Nieuw.PushNotificaties = true;
                        }
                        else
                        {
                            Nieuw.PushNotificaties = false;
                        }
                        repoInst.AdjustInst(Nieuw);

                    }
                }
            
        }
        internal async void changeme(string s, string l, string lat, string lon)
        {
            if (App.Gebruiker.InstellingenID == "1")
            {
                //STANDAARD INSTELLING MAAK NIEUWE
                Instellingen Nieuw = new Instellingen();

                Nieuw.Cortana = true;
                if (Aan == true)
                {
                    Nieuw.PushNotificaties = true;
                }
                else {
                    Nieuw.PushNotificaties = false;
                }
                String platsd = s + ";" + l + ";" + lat + ";" + lon;
                Nieuw.TaalID = platsd;


                await repoInst.AddInst(Nieuw);
                UserSettings = Nieuw;
                string nieuwid = Nieuw.ID;
                Gebruiker n = App.Gebruiker;
                n.InstellingenID = nieuwid;
                repogebruiker.AdjustGebruiker(n);

            }
            else {


                String plats = s + ";" + l + ";" + lat + ";" + lon;
                UserSettings.TaalID = plats;
                repoInst.AdjustInst(UserSettings);
            }


        }
 public async Task AddInst(Instellingen nitem)
 {
     await InitLocalStoreAsync();
     await Table.InsertAsync(nitem);
     await SyncAsync();
     await RefreshItems();
 }
 public async void DeleteInst(Instellingen nitem)
 {
     await InitLocalStoreAsync();
     await Table.DeleteAsync(nitem);
     await SyncAsync();
     await RefreshItems();
 }
 public async void AdjustInst(Instellingen nitem)
 {
     await InitLocalStoreAsync();
     await Table.UpdateAsync(nitem);
     await SyncAsync();
     await RefreshItems();
 }