
When the view is detached, then the listeners will be unregistered. This will also help in the future so that they can be temporarily unregistered when manually changing the state of the switches.
When the view is detached, then the listeners will be unregistered. This will also help in the future so that they can be temporarily unregistered when manually changing the state of the switches.