Not sure if I understood the question well.
But as long as you Set the Custom State to “Tab 3” it will highlight the Tab 3 yes
So basically you can Scroll Down → Set the custom state and it should work