Fixed bug where all the modifier of the last button in a toolbar overrides all previous buttons.