added functionality that allows you to add items to favorite list (saving items in localStorage). Also redirection to the homescreen was added in case page was reloaded and it has no info to render