Focused alertness, quick-thinking resourcefulness, stability of thought and feeling, or good sense, especially in spite of circumstances which are distracting, stressful, or otherwise challenging.
unflappability
noun
The state of being unflappable.
How often have the words presence of mind and unflappability occurred in a corpus of books? (source: Google Ngram Viewer )