callbacks for 'pause' event
Merge branch 'master' into demo
refactored callbacks and added evolution pause event