fixing ui bug where chocolate total would not get deducted