Refactored AttachmentAdapter moving processing into AsyncTask