changed String.isEmpty to TextUtils.isEmpty