Adding page loading animation when attendance report generate button is clicked