Update CardUI.java

Added setSelection function