Extract and pull the common functions from btn and tglbtn to anytbn, make tglbtn inherite from tglbtnbase correctly