added clear order function for prev order button. end in sight