CHANGED:applied the addItem function with NSBundle image file testing