With bug: OnActivityResult before onResume