Updated checkItem to change number of remaining items