Move recognizer initialization to onCreate