Changed dialog fragments to activities