private async Task OpenAdvert(Project oppgave)
 {
     OppgaveList.SelectedItem = null;
     var url = oppgave.webpage;
     var type = "project";
     var WebPage = new WebPage(type, url);
     await Navigation.PushAsync(WebPage);  //opens new webpage in browser to given url
 }
 private async Task OpenAdvert(Job stilling)
 {
     StillingList.SelectedItem = null;
     var url = stilling.webpage;
     var type = "job";
     var webPage = new WebPage(type, url);
     await Navigation.PushAsync(webPage);  //opens new webpage in browser to given url
 }
 private async void OpenAdvert(Varsel varsel)
 {
     var url = varsel.Webpage;
     var type = varsel.Type;
     var WebPage = new WebPage(type, url);
     await Navigation.PushAsync(WebPage);  //opens new webpage in browser to given url
 }