What does “state” mean for you? We cannot see any of your project or code.
When you have time, please check this post: