Remove Baged functions onPause and onDestroy