debug = DebugDialogBox.getErrorNotifier();
prevButton.setText(prefsUtils.getMsg("gadgetLabelPrevious"));
nextButton.setText(prefsUtils.getMsg("gadgetLabelNext"));
final ProfileViewMainPanel mainPanel = new ProfileViewMainPanel();
mainPanel.getHeader().add(expand);
final VerticalPanel priority= new VerticalPanel();
final RadioButton highPriority = new RadioButton("priorityFilter",prefsUtils.getMsg("gadgetLabelHigh"));
final RadioButton medPriority = new RadioButton("priorityFilter",prefsUtils.getMsg("gadgetLabelMedium"));
final RadioButton lowPriority = new RadioButton("priorityFilter",prefsUtils.getMsg("gadgetLabelLow"));
lowPriority.setValue(true);
priority.add(highPriority);
priority.add(medPriority);
priority.add(lowPriority);
final PrioritySelection selection = new PrioritySelection(viewPersonalNotesQry,viewPersonalNotesRequest);
mainPanel.add(selection.getPanel());
mainPanel.add(results);
RootPanel.get().add(mainPanel.getGadgetPanel());
viewPersonalNotesQry.setRequestAction(ReqActionTypes.VIEW);
viewPersonalNotesQry.addSortBy("gadgetCreation", SortTypes.ASC);
viewPersonalNotesQry