Fixed localStorage synchronization

- localStorage functionality restored
- localStorage still updated to use extID