Visibility setting in Main.