protected override void OnPause() { base.OnPause(); _permissionUtils.UnsubscribePermissionsMessagingCenter(this); _viewModel.NewMessagesIconVisibilityChanged -= OnNewMessagesIconVisibilityChanged; }