Created method onActivityResult() to handle new Connection creation and storage