moved autosettings into fragment