Tool states and ToggleButton style refactoring