Reload table view after adding a task using core data