display error msg on display
Changed main activity