added error textview in MainActivity