Tweaked to make sure the set map button is enabled on startup.