Comparing Strings with serialEvent

Notice that you append the carriage return onto the String, but the to be compared to String does not have a carriage return.

Also, notice that you do not return when the carriage return arrives. So, you append the line feed, too, if you are appending both in the Serial Monitor.