Fix initial display
Cleaned handling of the setting value
Fix initial sort handling