'Form processor'

def save(self):

    try:
        ModuleSetting.set_for_module('default_contact_type', self.cleaned_data['default_contact_type'].id, 'treeio.identities')
    except Exception:
        return False
