Read formats from preferences