Fixed bug with prodress bar when picture is getting uploaded.