Added a accelerometer activity