store searches to favorites array