private void shouldToggleFollowFriendForCell(final PAPFindFriendsCell cell) { PAPUser cellUser = cell.getUser(); if (cell.getFollowButton().isSelected()) { // Unfollow cell.getFollowButton().setSelected(false); PAPUtility.unfollowUserEventually(cellUser); PAPNotificationManager.postNotification(PAPNotification.USER_FOLLOWING_CHANGED); } else { // Follow cell.getFollowButton().setSelected(true); PAPUtility.followUserEventually( cellUser, new PFSaveCallback() { @Override public void done(boolean success, NSError error) { if (error == null) { PAPNotificationManager.postNotification(PAPNotification.USER_FOLLOWING_CHANGED); } else { cell.getFollowButton().setSelected(false); } } }); } }