Saving search result into local storage