Added reverting and saving for pending friends list.