Keep track of the previous action (e.g. for oscillation defense)