modified enabled listener for some actions