updating ui and fixing choose card bug