Fixed bug where first time users cannot activate the app because
localstorage has not been set.