Added progress bar for picture upload