Cleaning up state properties on state change
Persisting the job after unapplying succeeded state