I already got EAD for my wife and AP for my whole family (me, wife and son). my I-140 is still pending. If I-140 is denied in the future, EAD and AP are still valid?