Added check for network connection when user taps follow/unfollow button