moved add task button to index view, now it works
tasks are now saved in local storage