Move FlushData() after setEnable()