New class to disable a button when it is clicked.