protected override void OnPause()
        {
            Log.Debug(TAG, "OnPause");
            if (aiService != null)
            {
                aiService.Pause();
            }

            base.OnPause();
        }
 public override void ViewWillDisappear(bool animated)
 {
     aiService.Pause();
     base.ViewWillDisappear(animated);
 }