Fix crash when rotate on TaskDetailFragment.