Add permission to export to SD
Add export code in menu.
Add Event constructor with id, time and type.