Added settings page and visibility switch