Updated SensorActivity.