It's normal to crave sugar after quitting drinking - alcoholics often crave sugar because it boosts serotonin levels. When you quit drinking, your serotonin levels plummet. So you reach for the candy to boost them up again.
Here's a very technical study about it:
https://drive.google.com/file/d/0B4v...yNzlkNDg4/view
There are other healthy (and unhealthy) ways to boost feel good neurotransmitters, like:
falling in love
sex
meditation
exercise
sunlight
massage
remembering happy events