Working friend picker with core data

need to work with user preference instead