Finalizes mousePressed() for working with Piles instead of Cards in CardListener.