Changing input state on user error