Refines notification display duration for timed prompts to handle both short and long delay intervals Adjusts duration calculation to: - Cap notifications at 500ms for very short delays - Subtract 500ms from longer delays to prevent prompt overlap - Ensures smoother user experience during prompt sequences