Save settings
Better logic to save display.