Apply view on ready