Revert "Correction setState"

This reverts commit 28a36b5f37eb863621664994465599201d19f4cf.