renaming to buttonWithCustomTypeAndFrame