I have an iOS Custom Renderer and am toggling between dark and light mode using overrideuserinterfacestyle. The toggle button is in a navigation menu drawer. When I change the night/light mode while on the map page and then go to another page and toggle the night mode, the app crashes upon returning to the map. I'm using Message Center to send a message upon toggle to the custom map renderer, so I tried limiting the sending of the message to only when I'm on the map page through some conditions. This moved the issue and the app crashed when toggling on the map page. Is there a better way to do this? I'm looking to toggle overrideuserinterfacestyle based on a global navigation menu button.