Bugfix: when editing a transition, the change of tabs was buggy