Update settings dropdown fix + Working around type coercion

* The updateSetting function wasn't correctly updating the menu dropdown inputs when they already existed.
* For the cases where == was using type coercion to get a match, Number() and String() are now used to cast values to the correct type.