Fixed translation bugs, new logic for saving orders to database