Fix total not being calculated for cheque button