Changes at methods in GUI class and in main class.