Sketch gets wiped out faster than specifications

157239n:
The power source is the typical phone chargers. From the usb port on the charger I plugged a standard phone wire in and the other end I plugged in the Vin and GND pins. So the voltage is actually just 5V. I know I'm supposed to plugged a 7-12V power source in but that would be clumsy and 5V works just fine.

It worked just fine? It didn't have a power sag at some later date and wipe out your program? You should maybe tell that to the guy who wrote the rest of your post.