2 Toggles both the same

I have a problem with 2 toggles that are never both at the same screen. I want them to be the same so if one is on the other one is on. The 2 toggles are for a mute button. How can I do this?

Use Actions - in a method that is being triggered on mute you can invoke it, and if you previously register appropriate methods to toggles you should be able to achieve what you want.