removed ErrorListenerInterface and ErrorFragment and changed it back to
an AlertDialog