added notetype as enumeration. added new time fields in notes edit.