adding loading indicator and fix ui bug (position of control changed after upload)