private void handleChangedData() {
            //re-render list
            notifyDataSetChanged();
            ViewUtils.setListViewHeightBasedOnItems(listView);

            //handle "change all" button
            inventoryBox.setVisibility(activated && getCount() > 0 ? View.VISIBLE : View.GONE);
            changeAllBox.setVisibility(activated && getCount() > 1 ? View.VISIBLE : View.GONE);
            changeAllButton.setTextDialogTitle(
                LocalizationUtils.getString(R.string.log_tb_changeall) + " (" + getCount() + ")");

        }
Checks whether there are favorite points available and sets the corresponding visibility of
"add to favorite" checkbox.
main/src/main/java/cgeo/geocaching/log/LogCacheActivity.java