Added a setter and getter for the instance of the GUI