Fixed bug in Uploading Pictures

The user could spam the uploading by refreshing the page after uploadi
The Program doesn't clear the entire process so I modify those a littl