bugfix for: when the localStorage item "layoutdata" is full throw Exception