changes so submit_order still works
checks if submit_order is successful and gives toast notification