Modify the preferences asynchronously