Refactored UIPrompt