Replaced event listeners for showing indicator by direct calls, works better.