protected async override void OnNavigatedTo(NavigationEventArgs e) { // Create Database if not exist bool dbExists = await db.CheckDbAsync(); if (!dbExists) { await db.CopyDatabase(); } mapLocations(); }