How to customize caption settings?