Added validation for empty textview