fixing back button on time range