Cleaned up recording preference code style.