Don't run diff when changing tab focus

Don't run diff when changing tab focus if live mode is disabled