Fixed error message to return to home screen and not stay in popup