save default view to settings and restore on app startup