Uploaded sketch not working after power off

Try larger delays - 10,000ms at all three places simultaneously. If it helps, scale them back as necessary. Confirm that the issue is there; put some Serial.Print statements in setup to show you where it goes.

If you're still stuck, you may need to take a look at the library code and add some debugging output there too.