Apply Singleton Pattern in UI