Replace onClick in XML with MenuItemClickListener in code to avoid new crash reported in Play Store.