itemFactory of main window renamed to selectedItemFactory
Removed item factory from item