add listeners notification of focus change