Adds animations when task is added/removed.