Added the delete task and complete task functionality.