Renamed selectTool to cycleTool
Added onInventoryChanged to method call