Don't change gamemode if the player has the gamemode already. There's no need to tell players their gamemode changed if it didn't actually change.