Implemented Singleton Pattern in GUI Class