use class to set button to disabled after click