This is incorrect. The state is set at line 105. Why are you setting it again here?