Fixed with reading/applying settings from the wrong document with autosave

https://github.com/MiguelCastillo/Brackets-wsSanitizer/issues/6