working selClick for PCA