removed extra intelliJ chars
added error alert when local storage is not activated