Remove selected task from the task list