Compare strings with equals() not with ==

Strings should never be compared with `==`. They should be compared with the `equals()` method.