Use .equals() instead of == operator.