introducing localStorage and state of markers