Fix palette filename on type change
In the future we will have resource->convertToSerializable() interface to handle such issues in a general way. Right now we just switch the resource type manually on every change.
In the future we will have resource->convertToSerializable() interface to handle such issues in a general way. Right now we just switch the resource type manually on every change.