disable button for some time after click based on a shape