added logic to save quote to local storage and to retrieve the quote from local storage