Removed onPause and onResume overrides