private void initializeButtons() {
        setPositiveButton(android.R.string.ok, createRemovePreferenceHeaderClickListener());
        setNegativeButton(android.R.string.cancel, null);
    }
private void initializeButtons ( ) { setPositiveButton ( android . R . string . ok , createRemovePreferenceHeaderClickListener ( ) ) ; setNegativeButton ( android . R . string . cancel , null ) ; }
Initializes the dialog's buttons.