Sorry to hear about your job disappointment. And it's so frustrating when we slip up.
We've all had our share of slip-ups; it's the ability to get back on track that sets the winners apart. Losing weight successfully is largely about not letting setbacks totally derail you. In the scheme of things, the cookie blip won't matter at all, if you don't let it. You are taking the right first step to getting back on track by coming here for support.
In regards to the job situation, is there any possibility that you could create one instead of finding one? Would it be possible to work with your gym (or possibly some other gym) to create a daycare area? Or maybe they need some sort of equipment manager (if they let all their treadmills stay broken). Maybe there is a market in your area for delivery of healthy home-cooked meals? Think about services that you yourself need or would find appealing and how you can meet those needs.
Good luck, both with your diet and with your search!