fixing edit card in AddEditActivity