mam.lib: flag store as changed when prefs are set. (Fixes #193)