Fix favourite star not functioning after one click