save chosen ID_machine to DB when accept order