added 'connect' button to switch view