Fix reload_page_keeping_profile function: view_name is a prop, not a param.