For me, it just took a while... it just does. I "got it" - the part about not being able to control the addiction. Intellectually, I understood it... emotionally? Not so much.
It took applying that knowledge in real life... "acting as if" in order for my body, mind and heart to all get into alignment.
How about adding to your list places you can go to be distracted if this happens again?
If during the day - movie, friends, book shopping, clothes shopping, volunteering down at the animal shelter, calling around insurance companies to find the best insurance deals (grin... yep, ANYTHING to keep your mind busy). And Alanon/Naranon/CODA meetings.... lots of them.
Call a friend... one you haven't talked to in ages. Get caught up, ask her about her life.
Write! Write out all your fears, desires, disappointments, heartaches.... then burn the paper with a prayer that God please take over handling the management of these things.
Having a plan is half the battle.
(((hugs))))