Remove Inspector link

I modded a 5mm round LED part into a rectangular LED by swapping out some svgs, but if you use the Inspector to change colour it turns back to a 5mm round. Is there a way to cut out that code - I don’t know code so I don’t know what it looks like -, or replace it with something that will link my other colour LEDs.