refactoring buttons
refactoring buttons completed
Merged with css_refacroring
Fixed buttons for js events handling