hide button if not active