action_timer: fixed a bug where previous_action_time wasn't set.