Implemented proper Id assigning to stored orders. Created a listener for
the history table. Now a blank window appears when the user clicks on an
order.