Fix installing styles from the preferences