delete some reducent code and favorite

finish the favorite function,but need make the process dialog done.