Fixed issue with not saving the type of the entry. Re-added in text body generation to new entries.