Shifted commandbox.setText("") from undo,add,edit,done to readInput()