public static String getLocationTitle(Users users, String locationId) {
        JSONArray locations = users.getLocations();
        if (locations.length() > 0) {
            String locationTitle;
            try {
                for (int i = 0; i < locations.length(); ++i) {
                    JSONObject location = locations.getJSONObject(i);
                    if (location.get("id").equals(locationId)) {
                        locationTitle = (String) location.get("title");
                        return locationTitle;
                    }
                }
            } catch (JSONException je) {
                BmLog.error("Error during parsing locations JSONArray: " + je.getMessage());
            }
        }
        return "";
    }