Set storage.volume immediately when api.volume() is called

Fixes issue #231