enable publish toggling button