Just added a null-check to avoid a NullPointerException
added CacheMode.NONE to cookie settings screen