def METHOD_NAME(self):
    profile_name = self.menu.menu_list[self.menu.menu_selection][2]
    settings_were_successful = True
    if profile_name is None:
        self.unload_profile()
    else:
        settings_were_successful = self.load_profile(profile_name)
    if settings.shader_pack_remember and settings_were_successful:
        settings.shader_pack_profile = profile_name
        settings.save()
    # Need to re-render menu.
    self.menu.menu_action("back")
    self.menu_action()