Added onPause/onResume for LocationManager