def METHOD_NAME(self, option, index):
    if self.change:
        # remove section
        if index:
            if index == 1:
                config_helper.add_option(self.game.app_name, option, "true")
            if index == 2:
                config_helper.add_option(self.game.app_name, option, "false")
        else:
            config_helper.remove_option(self.game.app_name, option)
        config_helper.save_config()