Implement view states migration from the old preference model.