Code formating
Need to call renderItems() before renderTotal() as first one updates items list