refactor(#1096): change callback setter to single params for callback, add callback to encrypted submission