Problems changing the value of a reactive signal returned from a function - SolidJS