Why the theme is not applying in my form?