Fix for problem where one can't add files as the onActivityResult gets called prematurely. http://stackoverflow.com/questions/5297361/android-gallery-intent-returning-resultcode-result-canceled