extract and pull the common functions from tglbtn and btn to anybtn, make tglbtn inherite from tglbtnbase