fixed cash receipt setting of txnmode. txnmode was not set and it sends a null pointer in AFControl.getOpenControlList