Add template row in loader view and hook to add robot function