README updated with TODO removed
fixed the issue of recursive switch of state data