if(!content.getUrl().toString().contains("?bookmark=1") || content.getUrl().toString().contains("/search"))
{
SharedPreferences sharedPref = getSharedPreferences(getString(R.string.cnx_package), MODE_PRIVATE);
String bookURL = webviewLogic.getBookURL(content.getUrl().toString());
String url = sharedPref.getString(bookURL, "");
<BUG>try
{</BUG>
if(url.equals(""))
{
url = content.getUrl().toString();

if(!content.getUrl().toString().contains("?bookmark=1") || content.getUrl().toString().contains("/search"))
{
SharedPreferences sharedPref = getSharedPreferences(getString(R.string.cnx_package), MODE_PRIVATE);
String bookURL = webviewLogic.getBookURL(content.getUrl().toString());
String url = sharedPref.getString(bookURL, "");
if(url.equals(""))
{
url = content.getUrl().toString();
