Android - A shake listener class