CardView: when adding a parented card, put it in front of the group and set it as the active card

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>