Dates claiming medical expenses defaulting to 2023

On the Medical Expense Claim page I have put in the dates that I want to claim the medical expenses. I then press continue and go on to the next page. If I end up going back to the Medical Expense Claim page I see that the dates have changed to only cover 2023. How do I get the claim period dates that I choose to remain and not default to just 2023?