Fix NPE on setText(null)