added repaint- fixed button editable