Thank you for the friend add and congrats on getting back on track. That (weight loss) track is the hardest one I've ever had to ride. Ha. Ha.
The actual doing it isn't nearly as hard as the maintaining which is for the long haul. For me it means never going back to my old habits. Occasionally I allow myself an unsavory edible, but it is the exception and not the rule.
Fortunately, you 'caught' yourself before gaining it ALL back.