Fixed orientation change crash

Found bug in text file