Adding optional function run on confirmation from celery (can be used to update ui from main application)