Implemented star-pair functionality in the GUI