if (bookURI != null) {
for (String realmId : SpreadsheetSessionManager.getInstance().getRealms()) {
if (realmId.startsWith(bookURI)) {
if (bookURI != null) {
for (String realmId : SpreadsheetSessionManager.getInstance().getRealms()) {
if (realmId.startsWith(bookURI)) {