// Only run the commands if at least one bookmark is selected. Otherwise, a context menu with 0 selected bookmarks is briefly displayed.
if (numberOfSelectedBookmarks > 0) {
// Update the action mode subtitle according to the number of selected bookmarks.
// Only run the commands if at least one bookmark is selected. Otherwise, a context menu with 0 selected bookmarks is briefly displayed.
if (numberOfSelectedBookmarks > 0) {
// Update the action mode subtitle according to the number of selected bookmarks.