Are you referring to when you replace the visor? When I replaced mine, I just pushed the connector back in over the little indentation. It might jostle a little, but it's so tight I'm not too worried about it.
If you're not replacing the visor with an illuminated one, I would recommend just...