fixed a bug where deleted tasks weren't being removed from the array, so when a new task was made, all tasks (even deleted ones) were being recreated. also set focus to the 'new task' input field when the make task dialog appears