implemented task delete and completed toggle