check disabled status of toolbar button