Refactored config saving;
Typo
comment