Add/remove existing legends of existing layers (#231)