Add function to set terminal title