onPause update for Sensor activity