Added a listener for cut events