changed to use TextUtils.isEmpty
Merge pull request #218 from lucastan/master

changed to use TextUtils.isEmpty