if ($("#showThumbnailInNotifications").is(":checked")) {
                    $("#showThumbnailInNotifications").prop('checked', granted);
                    options.showThumbnailInNotifications = granted;
                }