Bug fixing. Emit ready state only when changes.