Add local storage support

So that we don't lose our work on refreshes :)