fixing preferences screen, dateformat box