Synchronization when saving last icon to preferences.