added setenabledlistener