task persistence in localstorage - assignment