[added] a setState which will depend on Storage
[added] Storage persistence for url