Fixed crash saving favorite