add delete task functionality
fix delte task bug