you just need to change your prorities in order to stop thinking about being alone/not in a relationship...
it's a bit like stopping to smoke or trying to follow a diet...
you have to modify your actual habit/attitude if you want to get rid of your actual state... and... get used to the "sanier" ones....the ways to achieve that have been already indicated you by the previous posters...
i wouldn't go so far as calling it "offensive" or "hurting", but i personally dislike being addressed as "sweetie" by any person except the possible man i am in a relationship with...
RE: Installing your husband
that's a case of a proper "localisation"...the adaptation of computer software for non-native environments