Even if we do it inside SparkUI, we still need a custom listener to listen for the ApplicationStart events. This unnecessarily complicates the SparkUI, which can just get the appName, for example, from its parent (SparkContext / Master / HistoryServer).