Add option to restrict the max amount of selected items