async void OnRefresh(object sender, EventArgs e) { // Turn on network indicator IsBusy = true; try { var incidentCollection = await incidentManager.GetAll(); foreach (Incident incident in incidentCollection) { if (incidents.All(b => b.Id != incident.Id)) { incidents.Add(incident); } } } catch { await DisplayAlert("Cannot Connect", "Either you are offline or the site is down.", "Ok"); } finally { IsBusy = false; } }