String's isEmpty method replaced by TextUitls.isEmpty method