fix last visited team or clientgroup, set last visited as default team and clientgroup