Changed picture sending activation to make the publisher a var of the object