Tick HAR once after settings new animation, to avoid flicker.
Code cleanups