She may have "heard" (intuited?) your prayers, we don't know. I'm a firm believer that it works miracles with cats. I know that when I've told a cat fervently something I wanted from them, the next day they did it, and every time I was shocked.
It's happened with at least 3 cats that I can remember: Gatita, I explained to her how anguished I was that she never moved, how I thought she'd get sick, and immediately, against all odds, she took a walk around the house and since then started moving more. Niki, I told her that I had this dream that one day she'd start sitting on my lap (now she's ALWAYS on my lap, grrrr), Grone (yard cat), I explained to him the pleasures his friends had from letting me pet them, and after 4 years of knowing each other, a few months later he suddenly started coming to me for some petting.
The Royal von Meouw Dynasty: His Royal Highness the late Prince von Meouw,
Her Royal Highness Princess Gatita von Meouw, Nikita Duchess of Meouw and
His Highness Cuchi-Cuchi, next in line for the throne of Prince von Meouw.