After test in common

Set register TWRA to make broadcasting work
Added mode (slave or master) to UI