SelectInventory-Fixes and -JavaDoc

We fixed some bugs in the SelectInventory-class and created the whole
JavaDoc.