Use AsyncTask to ensure sequential order

java too verbose