Changed favorites to trigger functionality