Replace getLocalOrSync with storage.get