It should be something like this:
If there are other actions or sub-events in "On start of layout" which rely on values loaded from LocalStorage, you need to be aware that these values will not be loaded instantly. So you'll have to add "Wait" or "Wait for signal" or re-arrange the events.