Calculate checksum before adding it to the database
Fixed broken style of upload bar