Apply preset preferences from a properties file

Issue #270