adding delete task functionality