change task view not to show button for cancelled episodes