Fix printin optional string as event status, adding more cases to the switch statement and secure variable state before parsing to string