'Set SiCKRAGE\'s user default configuration value'

def run(self):

    quality_map = {u'sdtv': Quality.SDTV, u'sddvd': Quality.SDDVD, u'hdtv': Quality.HDTV, u'rawhdtv': Quality.RAWHDTV, u'fullhdtv': Quality.FULLHDTV, u'hdwebdl': Quality.HDWEBDL, u'fullhdwebdl': Quality.FULLHDWEBDL, u'hdbluray': Quality.HDBLURAY, u'fullhdbluray': Quality.FULLHDBLURAY, u'unknown': Quality.UNKNOWN}
    iqualityID = []
    aqualityID = []
    if isinstance(self.initial, collections.Iterable):
        for quality in self.initial:
            iqualityID.append(quality_map[quality])
    if isinstance(self.archive, collections.Iterable):
        for quality in self.archive:
            aqualityID.append(quality_map[quality])
    if (iqualityID or aqualityID):
        sickrage.srCore.srConfig.QUALITY_DEFAULT = Quality.combineQualities(iqualityID, aqualityID)
    if self.status:
        for status in statusStrings.statusStrings:
            if (statusStrings[status].lower() == str(self.status).lower()):
                self.status = status
                break
        if (not (self.status in statusStrings.statusStrings)):
            raise ApiError(u'Invalid    Status')
        if (int(self.status) not in (3, 5, 6, 7)):
            raise ApiError(u'Status    Prohibited')
        sickrage.srCore.srConfig.STATUS_DEFAULT = self.status
    if (self.flatten_folders is not None):
        sickrage.srCore.srConfig.FLATTEN_FOLDERS_DEFAULT = int(self.flatten_folders)
    if (self.future_show_paused is not None):
        sickrage.srCore.srConfig.COMING_EPS_DISPLAY_PAUSED = int(self.future_show_paused)
    return _responds(RESULT_SUCCESS, msg=u'Saved    defaults')
