close the main activity after launch the nfc 
activity.