fixed bug with workorder
adresses issue #14, AM/PM set, noon as default, colors fixed