private void UpdateButtons() { UiDispatcher.RunOnUIThread(() => { ShowMapButton.Visibility = Visibility.Visible; }); }