Fixed page visibility not saving