OK button only works on correct input now.