Custom buttons should actually be of type UIButtonTypeCustom.