Implemented a delay in the loading icon to avoid showing the loading symbols for short loading periods