Correct a bug in the favorite bar