In that case, you'll have to wait until all the background check process is completed before your endorsement can be restored and you re-qualified by both the TSA and the DMV.
All this process can be done by mail if i want?
No problem. You can go through the process using mail to send your application.