Use function for adding to projects/faves in detailed view