Fix problem that cannot remove data correctly from local Storage.