When toggling between the main dashboard & the sales page, the data doesn't refresh and stays stuck for the last date range that was input