Implemented timer and proximity sensor.