Updated calculation code in OverviewViewController to calculate the correct information.