Fixed bug w/ state.sort when adding new Task.