make toast logic respect show toast setting