changing gui main class