Listboxservice: symplify some code