@staticmethod
def settings_to_dict(settings):
    """
        Make the settings readable for the widgets set settings method.

        Arguments:
        settings - Settings as dictionary.

        Return:
        None
        """
    settings_dict = {}
    idx = -1
    while idx < len(settings) - 1:
        idx += 1
        if settings[idx][0] == '###':
            key = settings[idx][1]
            if key == 'Frames':
                settings_dict[key] = []
            else:
                settings_dict[key] = {}
            continue
        if len(settings[idx]) == 1:
            settings[idx].append('')
        if key == 'Frames':
            setting = {}
            setting[settings[idx][0]] = settings[idx][1]
            for i in range(3):
                idx += 1
                setting[settings[idx][0]] = settings[idx][1]
            settings_dict[key].append(setting)
        elif key == 'Notification_widget':
            settings_dict[key].update({settings[idx][0]: [settings[idx][1],
                settings[idx][2]]})
        else:
            settings_dict[key].update({settings[idx][0]: settings[idx][1]})
    return settings_dict
