settings.addObserver('string', function callback(e){ 
  blabla 
});
the parameter of callback is an event Object, so the 'value' in your code always be true.