Arduino forgets sketches after a few minutes? (Power supply?)

Right, thats actually not connected...couldnt get Fritzring to delete that wire. Sounds simple and stupid, but trying to click it, resulted in it highlighting the arduino.

Thanks