record master-detail, layouts, refactor color preferences, color picker layout