Fix SecurityException if we have no VIBRATE permission
Fix API < 17 compatibility with AlertDialog.Builder.setOnDismissListener()