Boilerplate to update an Android widget with http response data