Added connection selector, connect button, scan button to main layout.