Added support for saving user settings between map state changes