Revert "moved stored state to vial table"

This reverts commit 64c6a03d3408417a2903d39d799a748047c60076.