That is to be expected after a sudden change in internet connection, what Tony could do is by implementing a timeout instead that would revert the state of them back or on AJAX failure, simply reset the buttons to allow the users to press it again while showing an error which can easily be done...