Change startActivity to startActivityForResult