@Override
 public void onPause() {
   super.onPause();
   if (mActionBar != null) {
     mActionBar.show();
   }
   mActivity.setLightsOutMode(false);
   if (mApplication.getEventBus().isRegistered(this)) {
     mApplication.getEventBus().unregister(this);
   }
   mSlideshowHandler.removeCallbacks(mSlideshowAction);
   mController.updateStatus(PlayStatus.STOPPED, null);
 }
 @Override
 public void onResume() {
   super.onResume();
   if (mActionBar != null) {
     mActionBar.hide();
   }
   mActivity.setLightsOutMode(true);
   if (!mApplication.getEventBus().isRegistered(this)) {
     mApplication.getEventBus().register(this);
   }
   mSlideshowHandler.postDelayed(mSlideshowAction, SLIDESHOW_INTERVAL_MS);
   mController.updateStatus(PlayStatus.PLAYING, mBucketId);
 }