Fixed updateItemCount not being called for Titanium
Added in-memory fallback for when localStorage is not available
0.1.6