added function in cr form to dynamically add value to selectpicker buttons