Added code to display one week to one month of activities in metric detail page, Corrected all metric tables to display data corresponding to selected time period