removed unnecessary functions in XBeeListenerGui