Added example with onActivityResult