the tabs autoselect when change change on other caps