When saving a value in the extension storage, it would be expected to first notify all listeners and then resolve the promise. But that's not the case. So this PR fixes that issue, by always loading state from the extension storage instead of relying on values in memory.
When saving a value in the extension storage, it would be expected to first notify all listeners and then resolve the promise. But that's not the case. So this PR fixes that issue, by always loading state from the extension storage instead of relying on values in memory.
Closes #79