Reordered date from largest to smallest
Fixed handling of date layout
Fixed category variable referencing
Building add entry string to be exported to database