Modify collapse legend label