Added callback when the user finish to print