Added selectionChanged function to behaviors.
Found fragments are now always adaptive to the selection.