Added the feature of 'storing the state of completed todos'