Added wait for problem to re-render when checking or resetting it
Added JavaScript wait for upload page