Fix grid reset action when state is restored