how to change a button from enable to disable after click