> solution might be to add a Promise in _writeToStorage as well

yes we should