app: prevent to import SettingsWithSpinner, if a custom class is used. closes #1590