Store current changes in hidden input and reload when switching themes.