localstorage to save last equations