Create class ListenerIWorkbench for record event loose and gains focus