Add animation when button was clicked