Add animation and prevent double clicks.