fixed open close favorite button handling