Fixed to return correct filename and also fixed api key

Fixed to return correct filename into onActivityResult and also fixed
api key because the JsonObject does not return the api key, so when
need to put them manually