Moving output of the captured image to an async task on android