Disabled upload button after click and added loading indicator

Closes #331