[Android] Checking value of allowShake and shakeValue before showing shake menu