onActivityResult little modified