Problem with getting out and in native mode