Implemented screen switching for settings and home page.