Save settings in session

If localStorage is not available, use the session to store frontend settings