localstorage works with layouts

autosavelayout option was missing from classic