when I click on the button, it goes to the path where I want and when I go back to where the tab is, that tag stays selected and therefore I can’t use it again because it is selected.
¿is there any property/option where I can refresh the page or deselect the tab to make it active again?
Note that this tag will only be reliable if all of your main window operations use system.nav.swapTo, to ensure only one main window is ever open at one time. (Same as for system.nav.getCurrentWindow.)