Tool buttons properly change state when switching tools