Goes to home screen on XML error