add sns.onActivityResult for code