Remove white space after deleting in local storage