Added connect activity changes