Application freezing fixed.