Persist duration value for activities