Lambda'ed the event listener.
Small refactoring.