add Loading on click of class