Finished connecting the GUI to the arduino