fixed a bug on add and active tab. fixed a bug about adding widget on blank preset.