Preflight preference working with local storage.