Implemented logic to determine whether item is open, some optimizations, and updated string resources