Fixed uploading button, it wasn't always detected