Emi - Detect change and auto save when change tab

++ Fix for flag for CFF