Added item saving when user confirms order and made some minor changes in code.