disable button when the value is finished