Fix tab persistence