always use PERSISTENT_STATE mask when persisting task controller state