Adding listener, using wrong key value