MainWindow can access card on click