Save flag to local array.