Persisting AE data into local storage and loading during startup. Messages are saved.