bugfix in toolbarbutton