Added local storage

To remember last calculation