Is there a better way to write this to save space/memory? NOOB here just learnin

I like your idea with the capacitor and saving it last second, I'll definitely use that in the future.

In this device it wont be a problem. Eeprom values will only be edited few times a year on this device so I don't expect it to be a problem.