How to preserve GameState between levels

How do I preserve the overall GameState between switching levels?

For instance if I enter a dungeon on my world map, I switch GameMode & GameState if I’m not mistaken here.

But then when I get back to the world map, a new GameMode / GameState is generated??

Possible duplicate (with an answer that might help you) can be found here