Added loading element. Added loading gif.