Change the main page to toggle between the chart and the records summary