private void UpdateAppBars() { if (MangoOnSeven.IsMangoRunning) { bool?wasPinned = _isPinned; _isPinned = MangoOnSeven.IsPagePinned(NavigationService.Source); if (wasPinned != _isPinned) { InitAppBars(); } } if (ApplicationBar == null) { InitAppBars(); } }