#42 Preferences updated whether text is selected or not