fixed the click function for the addToOrder button