servo case structure issue

Just checked the code in state 2 and it does what i expect it to do. I swapped the code for each state so state one now does the code that was in state two, and vise-versa. The same thing occurs. The code is successfully run, but then it just repeats itself and does not transition to the next case : /