Added feature to complete open tasks.