listener updates class diagram when user preferences change