a function called just before the shiny GUI has been terminated, primarily for
saving results externally with packages such as rDrop2, RAmazonS3,
googlesheets, RMySQL, and so on when applications are hosted on the web. The function
must be of the form final_fun <- function(person){...}, where person is the
standard output returned from mirtCAT