Revert "Remove the "enable widgets" preference properly"

This reverts commit 36d5dc699763ba63aa83b454dd00bc64d2c5e426.