OS X: Fix local storage not persisting