Integrating nextion display

Yea, I guess that would be useful information. The code is supposed to run the servo from 5 to 175 degrees and then listen to the nextion display. On the display, you should be able to change the angle. After you change the angle to a number greater than 100 it is supposed to loop continuously. What the code actually does is just moves the servo from 5 to 175 and just keeps repeating that.