Modify the logic of background adding friends.