Refactoring import in formsettings