Changed the custom control to a subclass of UIControl instead of subclass of UIButton.