fix favourite star icon on click