Added anon function for reset event listener