4/24 third commit

with array error when favorites tab is clicked