Added loading classes

This will give user feedback that something is happening and prevent too
many clicks.