Removed superfluous sendString
Fixed if statement, not sure how it ever worked