Small change to preset manager module.

Made `flatten_preset_data` a static method of the `PresetManager` class
rather than a function in the `preset_manager` module.