XFormsSubmitControl: use resolve() and move to Scala
Samples: remove unneeded buttons
Fix #793 "Update of switch label with for updates wrong label"