cleaning prints
fixing crash at right click in tree
adding and connecting the addADevice item
implementing newDevice edition
connecting addADeviceItem (in tree) with the newDevice editor
setting currentItem at NULL after editing a new device