Make ShakeDetectActivity more reusable. Now Activities dont have to extend it!