I'd wait for others to express their opinion, but I wonder what would be wrong with telling her this event was a wakeup call for you, which made you realize you needed to improve yourself if you were to have a satisfying relationship in the future with anyone, that I need to make these changes not to save this R, but for my growth and improvement.
The changes still need to be real, and she needs to see, not be told they are real. She needs to see you are not scared or obsessed, stating this means nothing. Project confidence, be as if, this is who I am now, you have sparked my improvement, you may join me if you wish, but it will not affect me if you do not.