After page reload, isOwner sometimes has wrong value. Setting it after loading client-settings in setup fixes this.