listening to storeinitialized before initializing (ios)