Save BTerminal settings when destroying the terminal