Use radio selection for type

The type selection is reimplemented as radio button type of widgets. The new category option
is now passed to the filtering function