enhancing disabled buttons functionality