Moved duplicated code into "PlayerCellPanel".