Save Content to localStorage

It's a rather simple solution right now (might be slow on big texts),
but it's obviously better then losing your data.