Adding AsyncTask for taking a picture