app: added control if selected item is null