Added time range to history page