Added destructor
Moved the bind function in order to be able to removeListener