Add active callback, detection of finished image