tool bar buttons disable/enable and gray scale when inactive