[FIX] change order of loaded files for view to have reference to the action called by the button