Added an assert to initWithCoder to make sure buttonType is set to custom in Interface Builder