#8 Add a setting to limit the number of categories listed