How do I keep arduino working after unplug

Where did you buy your Arduino from? Sounds like it has an old bootloader.