Android Popup window OnClick Listeners
===

I can't find any information about my problem. I'm new in Java and Androïd so please forgive me if I'm not clear...
I have a popupWindow and I've no problem in displaying my layout. 
The trouble is when I want to add an OnClickListener. The OnClickListener PopUpCancelListener appear to never been called.

I'm using this code for my popup, I took my inspiration from here : http://code.google.com/p/simple-quickactions/

     public class DemoPopupWindow extends BetterPopupWindow  {

		View PopUpView;
		Button Cancel = null;
		public DemoPopupWindow(View anchor) {
			super(anchor);
		}
		@Override
		protected void onCreate() {
			PopUpView = (View) View.inflate(anchor.getContext(),R.layout.set_popup, null);
			Cancel = (Button)  PopUpView.findViewById(R.id.popup_buttonCancel);
    		Cancel.setOnClickListener(PopUpCancelListener);
			// set the inflated view as what we want to display
			setContentView(PopUpView);
		}
		public OnClickListener PopUpCancelListener = new OnClickListener(){
			@Override
			public void onClick(View v) {
				Log.d("POPUP","Test Cancel");
				// we'll just display a simple toast on a button click
				Toast.makeText(anchor.getContext(), Cancel.getText(), Toast.LENGTH_SHORT).show();
				dismiss();
				
			}
		};
I call the class in an Activity, but I think I'm not doing it properly.

    DemoPopupWindow dw = null;
    ...
    private OnClickListener oneActivityButton = new OnClickListener() {
        @Override
        public void onClick(View v) {
            dw = new DemoPopupWindow(view);
            dw.showLikeQuickAction();
    }

Thank you for your help.