Saving image migrated to AsyncTask class. Progress dialog added.