changed using Java Thread to using AsyncTask in CheckService