Added the delegate task to animate tapping and checkmark changes.