I have no idea how you can prevent relapsing when seeing someone. The first thing you should probably do is treat the interaction as if it is the first time you see them, or force your conscious mind to create a new emotion. But that isn't easy and I don't know if it will work. In any which way I hope things work out and that you'll get through it.
__________________
'For only in the grip of darkness, will we shine amidst the brightest stars'