I believe you need to store the values using the PropertyBag

Check MSDN for more info