add gpgs notification callback.