Applying a theme to a form