added PopupMenu class basae on some slight modification of the MenuPopupHelper class from the ABS library