Added selection range filter to Select Window

This PR adds range filtering in Select window.
If both will be checked, we will look for elements in the e element staff, in segments that are in the current selection.
Should we check here if e.staff belongs to the selection?