It's little things like this that I am still working on eliminating. Getting on with my life without little chats or pats on the back. Yes it made me feel good about myself. But it shows that she is on my mind. I would rather me be on her mind. Now that she is out I can use this time to DB effectively I hope and stop thinking of her.
It's OK if she's on your mind for now. It will take probably months of training for her not to be on your mind regularly. I compare it to a memory-foam mattress. She JUST got out of the bed of your mind. Of course, there will still be an imprint there.
The key is how you ACT. Reaching out like that, giving little tugs on that rope. That sets you back. Reinforces your thoughts. Detachment comes when your thoughts of her dont influence your actions. You thought of her, and then texted her...
I wholly believe in the "fake it til you make it". Act detached, and you will become detached.