Boilerplate to update an Android widget asynchronously with some http response data