Made reload button work and and added loading to end