Persisting state for ionic PWA

@Slavrixx

See:

And: