My form loses/changes its selected theme and loses its custom CSS