Unregistered event listener during destroy() to avoid memory leak.