Implemented storing of each list state in LocalStorage.