Added so that manual/auto button works more times than one.