Updating last palette after load()
Refactoring work name to wname for localStorage