Save last animation in state