Add condition checking if text is not blank