Added more functionality to the views for navigation (buttons)