Implemented buttons on main screen and tested switching views