use apply for preferences instead of commit

// FREEBIE