deleted stubs for onPause and onResume