I haven´t got experience handling EEPROM memory as I mentioned.
That is not a problem, that is what you are asking about and that is fine.
Regarding where to put the if statemen, I always put them on the loop part of the program.
It is things like this that make me thing you haven't get got a handle on programming. Maybe you didn't play about with those blink examples enough. This is what I consider to be trivial. Like I say, ask away with them but it does bring one up short when explaining about more complex matters.
If statements should be put where ever they are needed, not "always" in one place.
It is a bit like explaining to some one how to cook a cheese cake an they say, "so where does the food go when you want to eat it"... "err your mouth."
I just find the things you know and those you don't to be a very odd mix.
Now this might look like I am getting at you but this is not the case. You obviously don't see the inconsistency in your knowledge. Maybe it is the tinkering around with other peoples code that has robbed you of the experience of actually writing and formulating your own code and program layout.
Please do keep on asking questions though.