Vibrate fix

Fix the vibrations of the button when page is refreshed.