upd buttons, change active state
upd active state for buttons