adding persistent data to osx app