added loading layout to stop the user from clicking anything
added loading spinner to inform the user of waiting time on data load and data calculation