Linked both GUI interfaces toghether