I think you are having a loop here.
You're observing A settings to modify B settings, and on the other hand you are observing B settings to modify A settings....