Program doesn't work after disconnect and connect power

What power source are you using for the 5V shown on your schematic?