I like the color match to the hull
That part is NOT supposed to come apart. It looks like it tore the wiring off of it too, although you say it works when held together. You can try to put it back together with glue, after repairing the wiring, but make sure that o-ring is under pressure. You should be able to look at the tangs and see if they were previously glued.
If reliability is an issue I would replace it.