Some of your code does not make sense to me. Can you explain what these lines are intended to do?
digitalWrite(enterButtonState, LOW);
digitalWrite(exitButtonState, LOW);
digitalWrite(setupButtonState, LOW);
It would be better to post both your sketches in their entirety.