Close #3 By moving the listener instantiation above the listener add.