Extract mode constant to ApplicationHelper