Use your thoughts to manage temptation
Whenever you do a program like this or whenever you want to reach a goal, there are going to be times that other people or things (or office cakes) will come and test your will power, determination and commitment.
The only person that can say no to these things is you and the way you do that is from managing your thoughts.
Let's take the office cakes example, you want to eat them because you are thinking about them and looking at them! You think about how good they taste, you may even imagine you eating them, maybe you can even taste them in your mouth.
CHANGE THOSE THOUGHTS AND PICTURES!