Update tools.py

Problem #9 - Changed how the evaluate_cancel method works