Added function to vibrate the device