The memory component you are using is for volatile memory.
i.e. RAM, which is lost upon powering off the computer/screen.
What you need is a non-volatile memory component.
It should be in GUIDE under the Components tab -> Connection -> Non-Volatile Memory Dynamic.
In my opinion, it's input/output wires are not convenient or understandable enough for how you would normally use NVM 99% of the time.
So, I wrote a set of wrapper pages around it, for each variable type that I use.
(U8, U16, U32, S16, and S32)
Attached is the wrapper for U32.
These wrappers are a bit wasteful, since the underlying hardware will write an entire 32-bit word, even if you only need 8 bits, but I use little enough NVM that it shouldn't be a problem in my applications.
Keep in mind the above comments for maximum number of write cycles.
I worked out the math last year, and a rule-of-thumb I came to is that if you write to a NVM component less often than every 10 minutes, or 80 times per day, then your NVM will last for twenty years.