Added Listener for command Box