How to communicate between the two connected GUIs