Rename Logic.delete to Logic.deleteTask