Revert "setting the CmatSettings to have a state_observer field when thet state is observered. now it is only set once"

This reverts commit 3c471aedf0f8ee6d55c7db7afc496d20ecfe67c6.