Thank you for your response. On your test page, I see the same problem: when I switch to light mode and refresh the page, it switches back to dark mode when it should remain in light mode. Give it a try.
However, on my website, when I deactivate “Activate dark mode as default”, it works perfectly, I can refresh the page and navigate and the selected mode remains.