now removing text field from Button if text is empty