Update mode_change_preferences.groovy