I have a problem with updating state in component. I\'m building a todo app with class based component. In this app I have a filter so you can choose to show completed task,