See this example of changing button images, but keeping them changed when switching screens. That should give you the idea