Reduce checks to only onResume and cleanup to onPause