When running program I get Thread 1: EXC_BAD_ACCESS (code=2, address=0x102e24e58) pointing at the setSegmentItems