ticket:2 Fixed bug in method onActivityResult.