Resolve color show bug when teacher selected change.