Helper class for setting values in isolated storage, for less code duplication.