Since the B2G Viewer preview only contains stubs for asyncStorage, and I unfortunately don't have access to a FirefoxOS phone, I've been unable to test that this actually works.
@brendandahl Does this code look right?