Like my iso comments. As the setting of white balance, now relies on a condition, move it to a separate function to ensure the condition is always considered.