Take a 1/4" split lockwasher and with a couple pair of pliers bend it so you can slide it over the rod then bend it back flat. It'll keep the spring in place.

image.jpegimage.jpeg