add support for changing button style in the tool bar