PieceSelection view and memory leak issue fixed