set active state on editor buttons