Moved the onActivityResult() logic for when a new contact is added to the MainActivity, rather than the AlertFragment. This means that if a new dialog has to be created if the app is closed and reopened, it can register its existance with the main activity by using getActivity(). Trying to store a static reference to the AlertFragment may not work if a new fragment is created