Change loading percentage done to integer