added fix for clearing selected bars
fixes to brushing (date range). added selected_count to ui