Added more interactive functionality to the card editor