Fix: the bug that all settings are reseted after rearranging items