added processing of Cancel; computing the result moved into OperationsFragment