Do not define listener as a variable twice