Do you have any autorun events that would get activated by the switch or variable values at the bottom?
Variable #3 aka Charity Counter gets reset at the end of page 3.
There are 2 things I could think off the top of my head now.
Either you forgot to set the next page to get activated by Variable #3 being set to 0...
Or it went back to page 2 or even page 1 for the wrong reason...
Can you upload or attach a small demo here?
I don't have anything to open a .rar (and I'm not on my dev machine at the moment, even if you were to upload a .zip--but I could look at it later if you did!) but if you can post screenshots of the other pages of the mayor's event, that would be a big help for troubleshooting!
Without seeing those, I'll echo the advice given before me--double-check to be sure that none of your events accidentally got set to autorun. I've definitely misclicked that before while I was aiming at other things in that corner of the window.
You might try adding a self switch at the end of this event page, after you've set Charity Counter = 0, and making that the condition to run page 4?
Here's the solution you badly needed to fix your game freezing after earning the restoration kits.
Scriptwise, there was no issue. Common Eventing / Switching on the other hand...