Fixed bug with key in getItem. Condition for hide elements have been added.