get tasks storing and loading in local storage