Added MiddleActivity. SensorActivity now accessible.