Change preferences values