I added the saveBoard function in result window