Uncommenting line of code which assert total cost on RnR screen footer plus written fix for the problem