Dismissing the alert in onPostExecute method.