Use the new $user->deletePreference and make sure setPreference uses string values