added monkeypatch to trigger event when sharing settings is modified (re #902)