.select(TAB_INDEX) does work but doesn't change the active state of the element

Hello,

I try to change the active tab to another and this works really good. The problem that I have, even if the active tab gets changed, I see the tabs content but the item in the tab bar doesn’t get marked as “active”. There is still the old one marked as active even if I see the content from the newly selected tab.

I’m changing the tabs within the tabs controller like this (sorry for the gist link but I don’t understand how to highlight code in this forum editor):