a little refactoring to make the 'no items in list'-messages appear nicer
more refactoring