setup testmode actionbarbutton visibility