refactored view bar
refactor selecting connectsions PART 1