improved logic for showing the setup page
1.0.5