Fixing bug with clicking disabled buttons