update android quit procedure