I am not very good at multi-tasking but I use that to my advantage at times like this. I start thinking of things that I am grateful for because when I do that, I am incapable of being ungrateful at the same time.
If my mind starts to stray off of the topic of gratitude, I gently and lovingly bring it back to the task at hand by being grateful that I know to do this today. I can not control the thoughts that pop into my head, but they don't control me either. Recovery has shown me that I can control my actions, that I am no longer a slave to whatever crazy thought pops into my cranium.
I get to choose.
Leave you front door and your back door open. Allow your thoughts to come and go. Just don't serve them tea.
Shunryu Suzuki