Moving form from configuration.php to widget.php