Comannd history saving button added, declaration of methods required for the button work.