Fix StackOverflow on huawei devices when initializing the palette
Prepare for release 1.0.1