@Override
  public void onPause() {
    super.onPause();
    mBus.unregister(this);
    mStatusBar.unregisterBus(mBus);

    if (mBuffer != null) {
      mBuffer = null;
    }
    mConnection = null;
  }
 @Override
 public void onDestroy() {
   super.onDestroy();
   mStatusBar.destroy();
 }
 @Override
 public void onResume() {
   super.onResume();
   mBus.register(this);
   mStatusBar.registerBus(mBus);
 }