add Add function of favorite