Complete edit favorite/search functionality loop