Management of listeners and events on GUI