button fix

fixes bug where clicking on the icon directly would toggle the class of the ICON only, not the parent button element.