Congrats on the weight you lost!!!
You've come a long way to get where you are, and should be really proud. It's okay to slip off the wagon and yo-you a little. It happens to everyone. The key is to not let yourself get discouraged enough to give up.
What is bringing these old habits back? Is something stressful in your life? If so, can you do anything to relieve that stress?
What is allowing you to go back to bad habits? Are you eating out more or have you been impulse-buying troublesome foods?
If you are bringing temptions home, I suggest taking one day to go grocery shopping for foods that are healthy but sooo tasty you will still enjoy eating them (fruit, low-fat/calorie snacks, etc...). Then, before you put the new foods away, go through your cupboards and fridge and throw out all the bad food. Promptly take the garbage out. If you are used to snacking throughout the day, make sure to take the healthy food with you. This will keep you full and reduce the temptations.
If you are eating out a lot, once again you may want to go grocery shopping and get some irresistable healthy foods--but make sure they are foods you can pack. Then invest in a good lunchbox/cooler. This is very useful if you travel a lot or don't spend much time at home (etc - OT at work). If you must go out to eat, try to order something on the menu that is lower in the calories.
It may also help give yourself 1 day each week, that you can let yourself slide. You may not lose as fast, but you won't feel like you are "missing out" so much and you can use that 1 day as a reward to stay on track for the rest of the week.