Shake testing

Shake functions should be implemented, accelerometer should stop being
watched when back button clicked.