I created a Sound button that allows you to turn music on and off, and this work good, the problem is when I turn off the music then go to another layout (in this case click Info button) if I go back, since the music was deactivated when the following layout returns, the Sound button instead of showing the animation 1 shows the 0 so the music no longer works.
Pretty sure I need to save it in local storage as you see form the image below, but I'm sure too that I'm wronging it, can someone help me please