Optimized the ViewModelHelper