NXP-11235: optimize retrieval of buttons per task type, controlled by a global runtime property