Mindstorms EV3 Spinner factory complete code problem
Currently, the EV3 education software can be downloaded for free

https://education.lego.com/en-us/downloads/mindstorms-ev3/software

It includes the program for the spinner factory, perhaps you can study that program and compare it with your own implementation to find the problem

Alternatively and probably much more instructive, you could learn how to debug programs. For EV3 this is easiest with inserting sound alert or displaying values on the EV3 screen (with a wait block) during the steps of your program, you can find hints on how to debug a program here:

http://stemrobotics.cs.pdx.edu/sites/default/files/debug.pdf