im failing to see how a temp change would be a problem. plenty of things have timers. would this really be so different?
Storing the original element of the mark is the most obvious way to code the effect. However the game carries no history function.
Cards with timers have end of the turn effects that instantiate a new card of the next value.
You could have it turn into the opposite element mark for X turns. Being directly opposite stores the information without using a history.
Invert Mark, Set Timer X
End of turn Timer Y [Y>0] -> Timer Y-1
End of turn Timer 0 -> Invert Mark