refactoring: added ui for searchbox, legend and analysis_button
merge conflict solved