Was she correct in that you were talking to an old girlfriend, and if so, did you lie to her about it?
Not judging -- just trying to understand the dynamics at play. It is imperative that you be 100% truthful with her through this process from here on out.