I don't get it
The spring is held in by it's own tension
If the spring is not holding the flap closed then it was installed wrong without being preloaded
Slip the rod out far enough to get to the end of the spring. wind it around one turn then slide the rod back through.
Easy to say, not quite so easy to do