Added view manager to clean up old view