Control servos through app trouble

it just seems as if data is being sent in the serial monitor and its making actual inputs delay could it be the loop in the code? and if it is what can I do about that? also, I think it may be the loop What is a way I can have the code hold and wait for input for every action