For your car waking up scenario you can check this thread.
https://www.bimmerpost.com/forums/sh...php?p=24988491
Not sure about the key priority as I had to restart/clearing everything when I had my ConnectedDrive issue and I have yet to setups wife's key.