Add option binding for widgets