Debug and Modify Result Save

Fix When Fail command found the program fail
Modify result Save so that it can put product result with Pass, Fail and the other. And it will modified the Pass and Fail number when status input with Pass or Fail