Simplify import/export of settings.
Also clear all stored data before importing.