I would store "requestObject.getJSONObject(RETURN)" in a variable (like attrRequest and mClientId) instead of referencing the whole thing each time