Adding legend label editing support