move ocr to background thread using AsyncTask