Function isAccountStateChange