Working on a preference editor