Only register shake listener if hockeyapp is set