Added view for the selected bars, and fixed some things
Added window for adding conditions. Made a fix.