connected detail view to favorites