@Override public void onDestroy() { sInstance = null; if (mBoundToService) { unbindService(this); mBoundToService = false; } super.onDestroy(); }