inserted selectionChanged functoin
added navigation from friend to panel-friend