Fixed "String.isEmpty() no such method" bug on android version < 2.3