Like PBR says use this:
Cut off a small piece, knead it into a ball, stick it on the back of the snap, put the snap back in the hole. Maybe a little tape to hold in place until it cures. It will last for years.
Once you buy this stuff you will use for everything. Usually I cut off too much for one snap, so I fix any that feel loose.