Added Enable Object event handler