Removed a duplicate window reload.