Added trial mode check after resume.