Replaced StringUtils.isNullOrEmpty by native TextUtils.isEmpty.