added possibility to select only active couples or inactive couples
added master detail view