BUG - Active button in button group

Hi!

I have noticed a quite irritating bug with active button in a button group. It works fine if it only has one event, for example switch to page. If i add one more event after the switch, like reset a variable value, the active state on that button doesn´t work:

This works on tabs, but then i loose some of the visual stuff that a button group enables.