add switchMode function to mode
add switch mode in event center
rename getRecMode to getInsMode
rename
add normal mode and ins mod
fix normal mode terminated diff but
comment error
switch mode return string
bug fix
add start up
add ana flag to check is diffed