remove the paste listener upon deactivation