Add double_buffer default setting

Add setting for using double_buffer