Changed Thread to AsyncTask with Timer Scheduling