Bugfix in storing/showing what items are selected