<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _update_list_store(config_m, list_store, ignore_keys=None):
 """Generic method to create list store for a given config model :param ConfigModel config_m: Config model to read into list store :param Gtk.ListStore list_store: List store to be filled :param list ignore_keys: List of keys that should be ignored """

        ignore_keys = [] if ignore_keys is None else ignore_keys
        list_store.clear()
        for config_key in sorted(config_m.config.keys):
            if config_key in ignore_keys:
                continue
            config_value = config_m.get_current_config_value(config_key)
            # (config_key, text, text_visible, toggle_activatable, toggle_visible, text_editable, toggle_state)
            if isinstance(config_value, bool):
                list_store.append((str(config_key), str(config_value), False, True, True, False, config_value))
            else:
                list_store.append((str(config_key), str(config_value), True, False, False, True, config_value))