Added delegate for UIButton.