refactoring the IsolatedStorage methods into a helper class