put ui settings in 2 constants (viewer and search settings)