Separated the create_option callback funciton for the chosen widget