Changing your relationship with food is the only way to be successful in this journey long term. If the sweets are still an issue for you (i.e., the temptation is too difficult to overcome), then you need to talk to a professional about it. The only way you are going to be successful is to do what you need to do regardless of what is around you or what other people are eating.
Good luck!