Hook view changed to template
Solved theme problems