add option "enable" to widget class