Added settings-saving.