Disable button when out of range