restore original task
Added event driven demo