Removed String.isEmpty() usage - not support by API level < 9